package pri.black.dogview.exception;

public class BizException extends RuntimeException{

    public BizException(){
        super("业务异常");
    }

    public BizException(String message) {
        super(message);
    }

    public static void throwIt(){
        throw new RuntimeException("操作失败");
    }

    public static void throwIt(String msg){
        throw new RuntimeException(msg);
    }
}
